package com.by.entity.bo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("sku_stock_lock")
@Data
public class SkuStockLock {

    /** id */
    @TableId("id")
    @ApiModelProperty(name = "id",notes = "")
    private Integer id ;
    /** 商品id */
    @ApiModelProperty(name = "商品id",notes = "")
    private Integer spuId ;
    /** sku id */
    @ApiModelProperty(name = "sku id",notes = "")
    private Integer skuId ;
    /** 订单id */
    @ApiModelProperty(name = "订单id",notes = "")
    private int orderId ;
    /** 状态-1已解锁 0待确定 1已锁定 */
    @ApiModelProperty(name = "状态-1已解锁 0待确定 1已锁定",notes = "")
    private int status ;
    /** 锁定库存数量 */
    @ApiModelProperty(name = "锁定库存数量",notes = "")
    private Integer count ;
}
